﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="menu.ascx.cs" Inherits="consul_menu" %>
<link href="../css/main.css" rel="stylesheet" type="text/css" />
<asp:TreeView ID="TreeView1" runat="server" DataSourceID="XmlDataSource1">
    <DataBindings>
        <asp:TreeNodeBinding DataMember="menu" ImageUrl="~/images/home.png" 
            NavigateUrlField="url" TargetField="target" TextField="name" />
        <asp:TreeNodeBinding DataMember="menu1" ImageUrl="~/images/10.png" 
            NavigateUrlField="url" TargetField="target" TextField="name" />
        <asp:TreeNodeBinding DataMember="menu2" ImageUrl="~/images/1.png" 
            NavigateUrlField="url" TargetField="target" TextField="name" />
    </DataBindings>
</asp:TreeView>
<asp:XmlDataSource ID="XmlDataSource1" runat="server" 
    DataFile="~/consul/XMLFile.xml"></asp:XmlDataSource>

